package com.itbbfx.service.system;

import com.itbbfx.entity.DataGridView;
import com.itbbfx.entity.Role;
import com.itbbfx.entity.RoleMenu;

import java.util.List;

public interface RoleService {
    List<Role> initUserRole();

    List<Role> selectAllRole(Role role);

    int queryRoleName(String rolename);

    String addRole(Role role);

    String updateRole(Role role);

    String deleteRole(int roleid);

    int saveRoleMenu(RoleMenu roleMenu);

    DataGridView initRoleMenu(int roleid);
}